package com.ae.service;

import com.ae.pojo.QueryVo;
import com.ae.pojo.Speaker;

import java.util.List;

/**
 * @author bug-termination
 * @date 2020-10-19 21:04
 */
public interface SpeakerService {
    Speaker  selectByPrimaryKey(Integer id);

    List<Speaker> findAllSpeaker();

    List<Speaker> findAllSpeaker(QueryVo queryVo);

    Integer getTotalCount();

    void addSpeaker(Speaker speaker);

    int updateSpeaker(Speaker speaker);

    int deleteSpeaker(Integer id);

    Speaker findById(Integer id);
}
